<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost/Service/AuthenticationService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/SMS.Entities.Admin" />
  <xs:import schemaLocation="http://localhost/Service/AuthenticationService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/SMS.Entities" />
  <xs:import schemaLocation="http://localhost/Service/AuthenticationService.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/SMS.Entities.Master" />
  <xs:element name="AuthenticateUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="password" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="isLoggedIn" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AuthenticateUserResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/SMS.Entities.Admin" minOccurs="0" name="AuthenticateUserResult" nillable="true" type="q1:ApplicationUser" />
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="serviceError" nillable="true" type="q2:SMSException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ResetPassword">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="username" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="currentPassword" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="newPassword" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ResetPasswordResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ResetPasswordResult" type="xs:int" />
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="serverError" nillable="true" type="q3:SMSException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveNewUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="username" nillable="true" type="xs:string" />
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/SMS.Entities.Admin" minOccurs="0" name="applicationUserObject" nillable="true" type="q4:ApplicationUser" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveNewUserResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/SMS.Entities.Admin" minOccurs="0" name="SaveNewUserResult" nillable="true" type="q5:ApplicationUser" />
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="serverError" nillable="true" type="q6:SMSException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetApplicationUserList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="SearchText" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetApplicationUserListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/SMS.Entities.Admin" minOccurs="0" name="GetApplicationUserListResult" nillable="true" type="q7:ArrayOfApplicationUser" />
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="serverError" nillable="true" type="q8:SMSException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AdminResetPassword">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="username" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="newPassword" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AdminResetPasswordResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="AdminResetPasswordResult" type="xs:int" />
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="serverError" nillable="true" type="q9:SMSException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetBranchDetail">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="branch_ID" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetBranchDetailResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/SMS.Entities.Master" minOccurs="0" name="GetBranchDetailResult" nillable="true" type="q10:Branch" />
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="serverError" nillable="true" type="q11:SMSException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UploadProfileImage">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="username" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="url" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UploadProfileImageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UploadProfileImageResult" type="xs:int" />
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/SMS.Entities" minOccurs="0" name="serverError" nillable="true" type="q12:SMSException" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>